package com.hutao.manage.pojo.cust;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 手术操作
 * @author lyh
 *
 */
public class HospitalizationOperationInfo {
	
	/**
	 * @author yimr
	 * 住院guid  
	 */
	private String firstGuid;

	/**
	 * 围手术期开始日期
	 */
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date periOperationPeriodStartDate;
	
	/**
	 * 围手术期结束日期
	 */
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date periOperationPeriodEndDate;
	
	/**
	 * 手术集合
	 */
	private List<HospitalizationOperation> operations = new ArrayList<HospitalizationOperation>();

	

	public HospitalizationOperationInfo() {
		HospitalizationOperation hospitalizationOperation = new HospitalizationOperation();
		operations.add(hospitalizationOperation);
	}

	public String getFirstGuid() {
		return firstGuid;
	}

	public void setFirstGuid(String firstGuid) {
		this.firstGuid = firstGuid;
	}


	public Date getPeriOperationPeriodStartDate() {
		return periOperationPeriodStartDate;
	}


	public void setPeriOperationPeriodStartDate(Date periOperationPeriodStartDate) {
		this.periOperationPeriodStartDate = periOperationPeriodStartDate;
	}


	public Date getPeriOperationPeriodEndDate() {
		return periOperationPeriodEndDate;
	}


	public void setPeriOperationPeriodEndDate(Date periOperationPeriodEndDate) {
		this.periOperationPeriodEndDate = periOperationPeriodEndDate;
	}


	public List<HospitalizationOperation> getOperations() {
		return operations;
	}


	public void setOperations(List<HospitalizationOperation> operations) {
		this.operations = operations;
	}
	
	
}
